<!-- Created by caiqi on 17/6/19. -->
<template>
  <div>
    <div class="about">
      <div class="html" v-html="inhtml" v-highlight></div>
    </div>
  </div>
</template>


<script type="text/ecmascript-6">
import api from "@/api/index";
import tools from "@/server/storage.server";

export default {
  data() {
    return {
      inhtml: ""
    };
  },
  methods: {
    async GetInfo() {
      const { data } = await api.getDocList({
        search: "关于后台项目",
        trademark: "",
        pages: 1,
        numbers: 1
      });
      if (!data.list.length) {
        return;
      }
      this.inhtml = data.list[0].content;
    }
  },
  mounted() {
    this.GetInfo();
  },
  watch: {}
};
</script>

<style lang="scss" rel="stylesheet/scss" scoped>
.about {
  .html{
    padding: 5vh;
  }
}
</style>
